css: Add a -gtk-icon-style property
authorBenjamin Otte <otte@redhat.com>
Tue, 6 May 2014 14:06:33 +0000 (16:06 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 May 2014 02:28:34 +0000 (04:28 +0200)
commit109fcb987bdf3be00220a064f9ead23fb5a568a8
treeb942a5aca7ee7dbbd574d88fe9b5fe428116b1a8
parent55f473f4e6cc6fa35f36e7ab9c4586ea1873df88
css: Add a -gtk-icon-style property

The values can be:
  "requested" - the style as requested
  "regular"   - use a regular full-color icon
  "symbolic"  - use a symbolic icon

The property defaults to "requested", so no changes should be seen
unless CSS overrides it.
It is also inherited, so that using this CSS
  .toolbar { -gtk-icon-style: symbolic; }
is enough to force the whole toolbar to use symbolic icons.
gtk/gtkcssenumvalue.c
gtk/gtkcssenumvalueprivate.h
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h